The back → transparent transition gives it a very bad look when
booting and running the startup animation.
Use the same transition duration hack to ensure that the panel
starts completely transparent.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1678>
}
runStartupAnimation(callback) {
+ Main.panel.style = 'transition-duration: 0ms;';
+
this._shown = true;
this._visible = true;
this._visibleTarget = true;
this.emit('showing');
this._overview.runStartupAnimation(() => {
+ Main.panel.style = null;
this.emit('shown');
callback();
});